package com.cx.purchase.plan.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class PlanClassAddVo {
    @ApiModelProperty(value = "编码")
    @NotBlank(message = "添加时,编码不能为空")
    private String code;
    @ApiModelProperty(value = "名称")
    @NotBlank(message = "添加时,名称不能为空")
    private String name;
    @ApiModelProperty(value = "状态")
    @NotNull(message = "添加时,状态不能为空")
    private Integer status;

    @ApiModelProperty(value = "状态名称")
    private String statusName;

    @ApiModelProperty(value = "描述")
    private String remark;

    private String createName;
    private Date createTime;
    private String updateName;
    private Date updateTime;
}
